# HAL
file(GLOB_RECURSE HAL_SRCS
    hal/*.c
)
set(HAL_INCS
    hal/
)

# tasks
file(GLOB_RECURSE TASKS_SRCS
    tasks/*.c
)

# user app
file(GLOB_RECURSE USER_APP_SRCS
    user_app/*.c
)

idf_component_register(SRCS "main.c" ${HAL_SRCS} ${USER_APP_SRCS} ${TASKS_SRCS}
                    INCLUDE_DIRS "." ${HAL_INCS})
